home *** CD-ROM | disk | FTP | other *** search
- Path: news.iconn.net!news
- From: thecrow@iconn.net (The Crow)
- Newsgroups: hku.open-forum,hku.cc.forum,hk.comp.pc,comp.lang.c++,comp.lang.pascal.misc
- Subject: Re: Is Pascal worth to learn? Can it help me to get a job?
- Date: 24 Jan 1996 22:38:40 GMT
- Organization: I rule the world
- Message-ID: <4e6cdg$5am@news.iconn.net>
- References: <30f2adf8.7810115@news.hku.hk> <4df7e8$1ug@classic.iinet.com.au> <4dh361$djk@news.2sprint.net>
- NNTP-Posting-Host: st-ts00-01.iconn.net
- Mime-Version: 1.0
- Content-Type: Text/Plain; charset=US-ASCII
- X-Newsreader: WinVN 0.99.6
-
- In article <4dh361$djk@news.2sprint.net>, ggrotz@2sprint.net says...
- >
- >ng@mitswa.com.au (John A Ng) wrote:
- >
- >> It can do anything that C can but with a remarkably fast compiler (about 20
- times
- >>faster than a competitive C compiler/linker). This makes learning a
- >>breeze.
- >
- >So very true...And ultimately smaller than C. I wrote just a simple
- >"Hello World!" program in TP, and C both...The EXE for TP was 2K,
- >while the EXE for C was about 7K. Something's wrong somewhere, if
- >people think C is better. Actually, I think it's more Microsoft
- >tomfoolery than anything, as you'd be very hard pressed to convince me
- >that C is better as a language than Pascal, though I'd like to see the
- >Pascal IDE brought up to par with the C one (most of the $ params we
- >use in Pascal are standard checkboxes in the C IDE.). And in C, you
- >don't have to trifle with the 64K limit for vars...
- >
- >
- >
-
- C/C++ is better in that pointers work better, math functions are in fact
- usually quicker, the 64k thing is actually the no different, that is a compiler
- dependent problem. C also gives you more power, like dynamicaly allocating
- variables and cool math things like
-
- i += 5;
- i ++;
-
- which is more effecient than their equivalents
-
- i = i + 5;
- i = i + 1;
-
- of course a tricky compiler will do this automatically
-
- --
- The Crow - thecrow@iconn.net
- "It can't rain all the time"
- -Kryptology
-
-